.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.search-form {
    margin: 50px;
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    border: 0.5px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.search-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.ebscowrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cinahlheader {
    color: #333;
    text-decoration: underline;
    text-decoration-color: #ff9a57; /* เปลี่ยนสีเส้น */
    text-decoration-thickness: 5px; /* เปลี่ยนความหนา */
    text-underline-offset: 10px; /* ระยะห่างระหว่างข้อความกับเส้น */
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.cinahlmain {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.searchTerm {
    margin: 10px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
}

.searchButton {
    background-color: #ff7300;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 15px;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
}

.searchButton:hover {
    background-color: #0088f7;
}

.aside-2 {
    text-align: center;
    margin-top: 15px;
}

.aside-2 a {
    color: #ff7300;
    text-decoration: none;
}

.aside-2 a:hover {
    text-decoration: underline;
}

.ebscowrapper .cinahlmain {
    position: relative;
}

@media (min-width: 768px) {
    .cinahlmain {
        flex-direction: row;
    }

    .searchTerm {
        width: 700px;
    }

    .searchButton {
        width: auto;
    }
}
